{/*
* @author PSI
* @copyright 2015 - present
* @license GPL v3
*/}
<layout name="layout" />

<script src="{$uri}Public/Scripts/PSI/Home/Portal/MainForm.js?dt={$dtFlag}" type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/Home/Portal/BasePortalItem.js?dt={$dtFlag}" type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/Home/Portal/ErrorInfoPortalItem.js?dt={$dtFlag}" type="text/javascript"></script>

<!-- 销售看板 -->
<script src="{$uri}Public/Scripts/PSI/SLN0001/Portal/SaleChatPortalItem.js?dt={$dtFlag}"
  type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/SLN0001/Portal/SaleGridPortalItem.js?dt={$dtFlag}"
  type="text/javascript"></script>

<!-- 采购看板 -->
<script src="{$uri}Public/Scripts/PSI/SLN0001/Portal/PurchaseChatPortalItem.js?dt={$dtFlag}"
  type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/SLN0001/Portal/PurchaseGridPortalItem.js?dt={$dtFlag}"
  type="text/javascript"></script>

<!-- 库存看板 -->
<script src="{$uri}Public/Scripts/PSI/SLN0001/Portal/InventoryPortalItem.js?dt={$dtFlag}"
  type="text/javascript"></script>

<!-- 资金看板 -->
<script src="{$uri}Public/Scripts/PSI/SLN0001/Portal/MoneyPortalItem.js?dt={$dtFlag}" type="text/javascript"></script>

<script>
  PCL.onReady(() => {
    const app = PCL.create("PSI.App", {
      userName: "{$loginUserName}",
      productionName: "{$productionName}",
      showCopyright: true,
      showRecent: true,
      appHeaderInfo: {
        title: "{$title}"
      },
      showMainMenuBar: true,
    });

    app.add(PCL.create("PSI.Home.Portal.MainForm", {
    }));
  });
</script>
